package favorGenericTypes;

/**
 * Created with IntelliJ IDEA.
 * User: Georgiana.Scarlat
 * Date: 8/30/12
 * Time: 10:56 AM
 *
 */
public class SomeComparable implements Comparable<Integer> {

    private Integer innerInteger;

    public SomeComparable(Integer innerInteger) {
        this.innerInteger = innerInteger;
    }

    @Override
    public int compareTo(Integer o) {
        return innerInteger.compareTo(o);
    }
}
